package cate.common.table.position;


import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("布阵")
public class FuncPositionRow extends ERow {

    @NoteField("功能ID")
    public int funcId;

    @NoteField("阵容名称")
    public int nameYID;

    @NoteField("是否支持提前编辑预设")
    public boolean preset;

    @NoteField("子编队ID")
    public int posNum;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID",0);
        this.funcId = xrw.getInteger("功能ID", 0);
        this.nameYID = xrw.getInteger("阵容名称",0);
        this.preset = xrw.getBoolean("是否支持提前编辑预设",false);
        this.posNum = xrw.getInteger("子编队ID",0);
    }



    @Override
    public void decode() {

    }

}
